package org.dromara.wms.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.wms.domain.WmsStock;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 库存数量视图对象 wms_stock
 *
 * @author wenrui Su
 * @date 2024-03-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = WmsStock.class)
public class WmsStockVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 事务
     */
    @ExcelProperty(value = "事务")
    private Long id;

    /**
     * 物品号
     */
    @ExcelProperty(value = "物品号")
    private Long productId;

    /**
     * 单位
     */
    @ExcelProperty(value = "单位")
    private String measureUnit;

    /**
     * 批次号
     */
    @ExcelProperty(value = "批次号")
    private String batchCode;

    /**
     * 仓库
     */
    @ExcelProperty(value = "仓库")
    private Long warehouseId;

    /**
     * 库位
     */
    @ExcelProperty(value = "库位")
    private Long areaId;

    /**
     * 供应商
     */
    @ExcelProperty(value = "供应商")
    private Long supplierId;

    /**
     * 生产厂商
     */
    @ExcelProperty(value = "生产厂商")
    private Long manufacturerId;

    /**
     * 在库数量
     */
    @ExcelProperty(value = "在库数量")
    private BigDecimal quantity;

    /**
     * 采购单价
     */
    @ExcelProperty(value = "采购单价")
    private BigDecimal purchasePrice;

    /**
     * 库存有效期
     */
    @ExcelProperty(value = "库存有效期")
    private Date expireDate;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
